import db from '@/utils/localstorage'

/**
 * 获取令牌
 */
export function getToken () {
  return db.get('ACCESS_TOKEN', '')
}

/**
 * 获取令牌过期时间
 * @returns {*}
 */
export function getExpireTime () {
  return db.get('EXPIRE_TIME', 0)
}
